package com.xyht.medicine_management_system.modules.coupon.entity.req;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 优惠劵表
 * </p>
 *
 * @author XYHT
 * @since 2023-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_user_coupon_relation")
@ApiModel(value="MmsUserCouponRelation对象", description="优惠劵用户关联表")
public class MmsUserCouponRelationReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关系id")
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "优惠劵id")
    private String couponId;

    @ApiModelProperty(value = "是否使用(0.未使用 1.已使用)")
    private Integer isUse;

    @ApiModelProperty(value = "使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date useTime;


}
